import request from '@/utils/request'

/**
 * 1C检测数据查询
 */
export function find1cDetectData(params) {
  return request({
    url: '/cms/detectC1data/find1cDetectData',
    method: 'get',
    params: params
  })
}
/**
 * 2C检测数据查询
 */
export function find2cDetectData(params) {
  return request({
    url: '/cms/detectC2index/find2cDetectData',
    method: 'get',
    params: params
  })
}
/**
 * 3C检测数据查询
 */
export function find3cDetectData(params) {
  return request({
    url: '/cms/detectC4index/find4cDetectData',
    method: 'get',
    params: params
  })
}
/**
 * 4C检测数据查询
 */
export function find4cDetectData(params) {
  return request({
    url: '/cms/detectC4index/find4cDetectData',
    method: 'get',
    params: params
  })
}
/**
 * 5C检测数据查询
 */
export function find5cDetectData(params) {
  return request({
    url: '/cms/detectC5/find5CJobList',
    method: 'get',
    params: params
  })
}

/**
 * 1C检测详情波形图
 */
export function findDetailWaveform(params) {
  return request({
    url: '/cms/detectC1data/findDetailWaveform',
    method: 'get',
    params: params
  })
}
/**
 * 2C图片查询
 * @param {string} pillarCode
 */
export function getC2Images(params) {
  return request({
    url: '/cms/detectC2index/findImages',
    method: 'get',
    params: params
  })
}
/**
 * 2C图片查询
 * @param {string} detectJobId
 */
export function findImagesByJobId(params) {
  return request({
    url: '/cms/detectC2index/findImagesByJobId',
    method: 'get',
    params: params
  })
}
/**
 * 2C检测数据详情页面支柱号查询
 */
export function find2cDetailPillarNum(params) {
  return request({
    url: '/cms/detectC2index/find2cDetailPillarNum',
    method: 'get',
    params: params
  })
}
/**
 * 4C图片查询
 * @param {string} pillarCode
 */
export function getC4Images(params) {
  return request({
    url: '/cms/detectC4index/findImages',
    method: 'get',
    params: params
  })
}
/**
 * 4C检测数据详情页面支柱号查询
 */
export function find4cDetailPillarNum(params) {
  return request({
    url: '/cms/detectC4index/find4cDetailPillarNum',
    method: 'get',
    params: params
  })
}
/**
 * 5C菜单树
 */
export function find5CMenuTree(params) {
  return request({
    url: '/cms/detectC5/find5CMenuTree',
    method: 'get',
    params: params
  })
}
/**
 * 5C检测图片查询
 */
export function find5CDetectPicture(params) {
  return request({
    url: '/cms/detectC5/find5CDetectPicture',
    method: 'get',
    params: params
  })
}
/**
 * 原始数据统计
 */
export function findOriginalDate(params) {
  return request({
    url: '/cms/originalDate/findOriginalDate',
    method: 'get'
  })
}
/**
 * 原始数据1-6C左侧树结构
 */
export function originalTree(params) {
  return request({
    url: '/cms/originalDate/originalTree',
    method: 'get',
    params: params
  })
}
/**
 * 原始数据1C列表
 */
export function find1OriginalDate(params) {
  return request({
    url: '/cms/originalDate/find1OriginalDate',
    method: 'get',
    params: params
  })
}
/**
 * 原始数据2C列表
 */
export function find2OriginalDate(params) {
  return request({
    url: '/cms/originalDate/find2OriginalDate',
    method: 'get',
    params: params
  })
}
/**
 * 原始数据4C列表
 */
export function find4OriginalDate(params) {
  return request({
    url: '/cms/originalDate/find4OriginalDate',
    method: 'get',
    params: params
  })
}
/**
 * 1C历史对比
 */
export function findHistoricalComparison(params) {
  return request({
    url: '/cms/detectC1data/findHistoricalComparison',
    method: 'get',
    params: params
  })
}
// 文件上传
export function successRess(params) {
  return request({
    url: '/cms/common/successRess',
    method: 'get',
    params: params
  })
}

